package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_lion_dance_card_change", autoSave = true,uploadCk = true,desc = "狮跃汴京-卡牌获取消耗")
public class LogLionDanceCardChange extends ServerBaseLog{

    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    int activityId;

    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    long userId;

    @FieldTypeAnnotation(desc = "卡牌")
    int card;

    @FieldTypeAnnotation(desc = "数量")
    int num;

    @FieldTypeAnnotation(desc = "1获得0失去")
    int isGet;

    @FieldTypeAnnotation(desc = "0:舞狮；1：他人赠送；2：赠送他人；3；组合消耗，领取奖励；4:赠送未成功归还")
    int way;

    @FieldTypeAnnotation(desc = "合成卡牌组合id（没有则为0）")
    int combId;

    @FieldTypeAnnotation(desc = "赠送他人")
    long toUserId;

    @FieldTypeAnnotation(desc = "他人赠送")
    long fromUserId;


    public LogLionDanceCardChange(int activityId, long userId, int card, int num, int isGet, int way, int combId, long toUserId, long fromUserId) {
        this.activityId = activityId;
        this.userId = userId;
        this.card = card;
        this.num = num;
        this.isGet = isGet;
        this.way = way;
        this.combId = combId;
        this.toUserId = toUserId;
        this.fromUserId = fromUserId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getCard() {
        return card;
    }

    public void setCard(int card) {
        this.card = card;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getIsGet() {
        return isGet;
    }

    public void setIsGet(int isGet) {
        this.isGet = isGet;
    }

    public int getWay() {
        return way;
    }

    public void setWay(int way) {
        this.way = way;
    }

    public int getCombId() {
        return combId;
    }

    public void setCombId(int combId) {
        this.combId = combId;
    }

    public long getToUserId() {
        return toUserId;
    }

    public void setToUserId(long toUserId) {
        this.toUserId = toUserId;
    }

    public long getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(long fromUserId) {
        this.fromUserId = fromUserId;
    }

}
